package com.ruoyi.security.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 安全台账对象 omp_af_safety_ledger
 *
 * @author Felix
 * @date 2021-10-12
 */
@Data
@ApiModel
public class AfSafetyLedger extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    @Excel(name = "企业id")
    @ApiModelProperty(value = "企业id")
    private String company;

    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String companyName;

    /** 安全管理人 */
    @Excel(name = "安全管理人")
    @ApiModelProperty(value = "安全管理人")
    private String safetyPerson;

    /** 管理人电话 */
    @Excel(name = "管理人电话")
    @ApiModelProperty(value = "管理人电话")
    private String phone;

    /** 责任人电话 */
    @Excel(name = "责任人电话")
    @ApiModelProperty(value = "责任人电话")
    private String legalPhone;

    /** 台账类型 */
    @Excel(name = "台账类型")
    @ApiModelProperty(value = "台账类型")
    private String safetyType;

    /** 人员证书 */
    @ApiModelProperty(value = "人员证书")
    private String certificateUrl;

    /** 安全责任人 */
    @ApiModelProperty(value = "安全责任人")
    private String legalPerson;

    private String summary;

    /** 附件 */
    @ApiModelProperty(value = "附件")
    private String accessoryUrl;

    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String safety;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private String delFlag;

    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;

}
